package database_interaction;

/**
 * @file Decimal.java
 * @version 0.1
 * @author James Dibble 10009689
 */
public class Decimal extends Parameter{
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private double _value;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Decimal(double value) {
        super(SQLType.Decimal);
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Methods">
    @Override
    public String toString(){
        return String.valueOf(this._value);
    }
    
    @Override
    public Object value() {
        return this._value;
    }
    // </editor-fold>
}